package com.goktech.olala.server.dao.order;

import com.goktech.olala.server.pojo.order.Shopcart;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ShopcartMapper {
    int deleteByPrimaryKey(Long shopCartId);

    int insert(Shopcart record);

    Shopcart selectByPrimaryKey(Long shopCartId);

    List<Shopcart> selectAll();

    List<Shopcart> selectCustomerId(@Param("customerId") String customerId);

    int updateByPrimaryKey(Shopcart record);

    int deleteShopcart(Shopcart shopcart);

    Shopcart selectCollect(@Param("shopCartId") Long shopCartId,@Param("customerId") String customerId);
}